/* Copyright (c) 2025 Beijing Semidrive Technology Corporation
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef COMPILERDEFINITION_H
#define COMPILERDEFINITION_H

#ifdef __cplusplus
extern "C" {
#endif
/* Version and Check Begin */
/* Version Info Begin */
#define COMPILERDEFINITION_H_VENDOR_ID    0x8C
#define COMPILERDEFINITION_H_AR_RELEASE_MAJOR_VERSION    4
#define COMPILERDEFINITION_H_AR_RELEASE_MINOR_VERSION    3
#define COMPILERDEFINITION_H_AR_RELEASE_REVISION_VERSION 1
#define COMPILERDEFINITION_H_SW_MAJOR_VERSION    1
#define COMPILERDEFINITION_H_SW_MINOR_VERSION    0
#define COMPILERDEFINITION_H_SW_PATCH_VERSION    0
/* Version Info End */
/* Version and Check End */


/*PRQA S 0602,0603  EOF*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION > 6000000)
    #if (defined(__clang__))
        /* ARM Compiler6 Clang */
        #define _ARMCLANG_C_
    #endif  /* defined(__clang__)*/
#elif (defined(__ICCARM__))
    /* IAR compiler */
    #define _IAR_C_
#elif (defined(__ghs__))
    /* GreenHills compiler */
    #define _GHS_C_
#elif (defined(__GNUC__))
    #if (defined(__unix__))
    /* gcc (for Linux host)*/
        #define _GCC_C_
    #else
    /*  arm-none-eabi-gcc */
        #define _ARMGCC_C_
    #endif
#else
    #error "Compilor not supported yet!"
#endif

#ifdef __cplusplus
}
#endif

#endif /* #ifndef COMPILERDEFINITION_H */
